<?php
/**
 * @package    Joomla.Tutorials
 * @subpackage Components
 * @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_2
 * @license    GNU/GPL
	*/

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view');

class RcbaseViewRcbase extends JView
{
	function display($tpl = null)
	{
		$model =& $this->getModel();
		die(print_r($model));
		$data = array(
			'hello'=>$model->getGreeting(),
			'task'=> JRequest::getVar( 'task', 'no_task' ),
		);
		$this->assignRef( 'data',	$data );

		parent::display($tpl);
	}
}